package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.ImMessage;
import com.example.vo.Result;
import com.example.vo.UserWithLastMessageVo;

import java.util.List;

/**
* @author circle48
* @description 针对表【im_message】的数据库操作Service
* @createDate 2024-06-13 15:22:03
*/
public interface ImMessageService extends IService<ImMessage> {

    Result<List<UserWithLastMessageVo>> getUserIdsByWaiterId(Long waiterId);

    List<ImMessage> getOfflineMessages(Long currentUserId, Long customerId);
}
